#include<iostream>
#include<queue>
using namespace std;

int main()
{
  priority_queue<int> q;
  q.push(1);
  q.push(3);
  q.push(2);
  while(!q.empty())
  {
    cout <<q.top()<<"  ";
    q.pop();
  }
  cout << endl;
  return 0;
}
